﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.Contracts.DTO.Response.Material
{
    public class MaterialResponseDto
    {
        /// <summary>
        /// 物料id
        /// </summary>
        [Description("物料id")]
        public int MId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        [Description("物料编码")]
        public string MEncode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        [Description("物料名称")]
        public string MName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        [Description("规格型号")]
        public string MModelType { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        [Description("单位")]
        public string MUnit { get; set; }
        /// <summary>
        /// 物料/产品
        /// </summary>
        [Description("物料/产品")]
        public string Mproducts { get; set; }
        /// <summary>
        /// 所属分类
        /// </summary>
        [Description("所属分类")]
        public string MproductShuosu { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        [Description("是否启用")]
        public bool MYesNoEnable { get; set; } = true;
        /// <summary>
        /// 安全库存
        /// </summary>
        [Description("安全库存")]
        public bool MSafetyStock { get; set; } = true;
        /// <summary>
        /// 备注
        /// </summary>
        [Description("备注")]
        public string MRemark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }=DateTime.Now;
    }
}
